package com.topone.Form;

import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * Created by Administrator on 2018/1/24,0024.
 */
@Data
public class CouponOrderForm {

    @NotEmpty(message = "优惠券id不为空")
    private String couponId;

    @NotEmpty(message = "优惠券数量不为空")
    private String couponNum;

    @NotEmpty(message = "openid不为空")
    private String buyerOpenid;

    @NotEmpty(message = "手机号码不为空")
    private String buyerPhone;

    @NotEmpty(message = "买家姓名不为空")
    private String buyerName;

    @NotEmpty(message = "优惠券单价不为空")
    private String couponPrice;

    @NotEmpty(message = "总价不为空")
    private String orderAmount;

}
